renderbackground: Save a snapshot_translate() call
authorTimm Bäder <mail@baedert.org>
Wed, 18 Dec 2019 08:40:04 +0000 (09:40 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 7 Jan 2020 16:27:16 +0000 (17:27 +0100)
commit075a0ccb5e3a6c4dc6d81688499c19b3741825bf
tree772dd95a5b45866e038eccf5c1e8b13798ed1ad6
parentdb91b6dc6102b89e668f0180519d8e161c9e0856
renderbackground: Save a snapshot_translate() call

Just add the values manually when really using the snapshot later. Also
unifies the two if branches by pulling out getting the x/y values.
gtk/gtkrenderbackground.c